<template>
  <input :value="txt" @input="inputChange" />
</template>
<script>
  export default {
    props: {
      txt: {
        type: String,
        default: ''
      }
    },
    methods: {
      inputChange(e) {
        this.$emit('update:txt',e.target.value)
      }
    }
  }
</script>

<style>
</style>
